package com.oxygen.pt.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.oxygen.pt.pojo.dto.OxygenChamberInspectionSaveDTO;
import com.oxygen.pt.pojo.vo.InspectionSimpleVO;
import com.oxygen.pt.pojo.vo.OxygenChamberInspectionPageVO;

import java.time.LocalDate;
import java.util.List;

public interface OxygenChamberInspectionService {

    boolean deleteById(Long id);

    boolean save(OxygenChamberInspectionSaveDTO dto) throws JsonProcessingException;

    OxygenChamberInspectionSaveDTO findById(Long id);

    List<OxygenChamberInspectionPageVO> pageByDateRange(LocalDate start, LocalDate end);

    boolean update(OxygenChamberInspectionSaveDTO dto, Long id) throws JsonProcessingException;

    List<InspectionSimpleVO> listAllForExport();
}
